package com.bysc.cmsservice.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 教室预约表
 * </p>
 *
 * @author kkk
 * @since 2025-04-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CmsBookCourse对象", description="教室预约表")
public class CmsBookCourse implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "申请单位")
    private String applicantUnit;

    @ApiModelProperty(value = "申请人")
    private String applicant;

    @ApiModelProperty(value = "联系方式")
    private String contactInformation;

    @ApiModelProperty(value = "申请日期")
    private String date;

    @ApiModelProperty(value = "申请教室")
    private String classroom;

    @ApiModelProperty(value = "申请节次")
    private String session;

    @ApiModelProperty(value = "人数")
    private String peopleNum;

    @ApiModelProperty(value = "审核状态（“0未审核”，“1通过”，“2没通过”）")
    private int status;

    @ApiModelProperty(value = "审核状态")
    @TableField(exist = false)
    private String statusName;

    @ApiModelProperty(value = "逻辑删除（0未删除、1已删除）")
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Boolean isDeleted;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;


}
